Create Latched push buttons

Use the Latched push button object to create a button with a latched and unlatched state. This type of button is useful for starting a machine or process.

For example, use the Latched push button when you want the Value connection to start a process within a programmable logic controller (PLC) and remain set until the process is completed. You can also use a latched push button when you have a PLC with a long program or long update times.

To create a Latched push button

  1. In the Graphics Display editor, select Push Button > Latched from the Objects menu.
  2. Drag the mouse to position and draw a rectangle the general size and location you want the button to be.
  3. Double-click the button to open its Properties dialog box.
  4. In the Properties dialog box, specify how the button looks, how to unlatch the button, and its tags.

    Important:

    Do not use push buttons for emergency stops. Emergency stop buttons must be hard-wired.

Tip:

  • Use the Handshake connection to signal that the program has read the Value connection.
  • The Latched push button sends a value to the data source when pressed, and retains this value until reset by the Handshake connection.

See also

Set up general properties for a Latched push button

Set up states for a Latched push button

Set up connections for the Latched push button

How the Latched push button works at run time

Causes of run-time errors for the Latched push button

Keywords: push button